/*
 * ============================================================================
 * Copyright Notice!
 * ----------------------------------------------------------------------------
 * This file contains proprietary and confidential information belonging to the
 * group of people involvled in developing this project.  Reproduction, disclosure 
 * or use without specific written authorization from project stake holders is 
 * prohibited. Please refer the readme.txt in project installation folder for more
 * specific contacts
 *
 * All rights reserved.
 * ============================================================================
 */
package edu.uwm.universitydb.model;

/**
 * Model object representing a Professor
 * 
 * <code>Professor</type>
 * 
 * @author Shyam Nair
 */
public class Professor extends Person
{
    /** attribute holding the rank */
    private final String mRank;

    /** attribute holding the research speciality */
    private final String mResearchSpeciality;
    
    /** attribute holding the research speciality */
    private final Department mDepartment;

    /**
     * 
     * @param ssnNum
     * @param age
     * @param name
     * @param rank
     * @param researchSpeciality
     * @param department
     */
    public Professor(final String ssnNum, final Integer age, final String name, final String rank,
                     final String researchSpeciality, final Department department)
    {
        super(ssnNum, age, name);
        mRank = rank;
        mResearchSpeciality = researchSpeciality;
        mDepartment = department;
    }

    /**
     * @return Returns the mResearchSpeciality.
     */
    public String getResearchSpeciality()
    {
        return mResearchSpeciality;
    }

    /**
     * @return Returns the mRank.
     */
    public String getRank()
    {
        return mRank;
    }

    /**
     * @return Returns the mDepartment.
     */
    public Department getDepartment()
    {
        return mDepartment;
    }

}
/*
 * ============================================================================
 * Change History
 * ----------------------------------------------------------------------------
 * Apr 19, 2014   Shyam Nair
 * File created
 * ----------------------------------------------------------------------------
 */